//----------------------------------------------------------------------------
// M A R I T I M E  R E S E A R C H  I N S T I T U T E  N E T H E R L A N D S
//----------------------------------------------------------------------------
// Copyright (C) 2009 - MARIN - All rights reserved - http://www.marin.nl
//----------------------------------------------------------------------------
// Program    : various
// Module     : ????
// File       : qshep2d.h
//----------------------------------------------------------------------------

#ifndef QSHEP2D_C_H
#define	QSHEP2D_C_H

void qshep2(int n, double x[], double y[],
            double f[], int nq, int nw, int nr, int *lcell,
            int *lnext, double *xmin, double *ymin, double *dx,
            double *dy, double *rmax, double *rsq, double *a,
            int *ier);

double qs2val(double px, double py, int n, double x[],
              double y[], double f[], int nr, int *lcell,
              int *lnext, double xmin, double ymin, double dx,
              double dy, double rmax, double *rsq, double *a);

void qs2grd(double px, double py, int n,
            double x[], double y[], double f[], int nr, int *lcell,
            int *lnext, double xmin, double ymin, double dx,
            double dy, double rmax, double *rsq, double *a,
            double *q, double *qx, double *qy, int *ier);

#endif	/* QSHEP2D_C_H */

